Skip to content
This repository has been archived by the owner on May 1, 2019. It is now read-only.

Fix: Pass repository instead of array into view helper #373

Merged
merged 1 commit into from
Feb 10, 2015

Conversation

localheinz
Copy link
Member

This PR

  • passes a repository to the ModuleDescription view helper so it can decide itself what it needs, rather than passing a big 'ole array to it

@localheinz localheinz changed the title Fix: Pass in repository instead of array Fix: Pass repository instead of array into view helper Feb 8, 2015
@ins0
Copy link
Contributor

ins0 commented Feb 8, 2015

like + looks good! 👍

<p>
<span class="author-label">Created:</span>
<?php echo (new DateTime($module['created_at']))->format('Y-m-d') ?><br />
<?php echo (new DateTime($this->createdAt))->format('Y-m-d') ?><br />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe use the dateFormat helper?

@localheinz
Copy link
Member Author

@Ocramius

Removed the type-hinting!

@localheinz
Copy link
Member Author

@Ocramius

Wait, there's something wrong.

Wait, what?!

@Ocramius
Copy link
Member

@localheinz mergeable now?

@localheinz
Copy link
Member Author

@Ocramius

👍

@Ocramius Ocramius self-assigned this Feb 10, 2015
Ocramius added a commit that referenced this pull request Feb 10, 2015
Fix: Pass repository instead of array into view helper
@Ocramius Ocramius merged commit c92ba94 into zendframework:master Feb 10, 2015
@Ocramius
Copy link
Member

@localheinz done, thanks!

@localheinz localheinz deleted the fix/module-description branch February 10, 2015 11:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants